package com.xueyi.system.plantManager.service.impl;

import com.xueyi.system.plantManager.domain.query.BasePlantManagerQuery;
import com.xueyi.system.plantManager.domain.dto.BasePlantManagerDto;
import com.xueyi.system.plantManager.service.IBasePlantManagerService;
import com.xueyi.system.plantManager.manager.IBasePlantManagerManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 种植管理管理 服务层处理
 *
 * @author zlf
 */
@Service
public class BasePlantManagerServiceImpl extends BaseServiceImpl<BasePlantManagerQuery, BasePlantManagerDto, IBasePlantManagerManager> implements IBasePlantManagerService {

    /**
     * 查询种植管理对象列表 | 数据权限 | 附加数据
     *
     * @param plantManager 种植管理对象
     * @return 种植管理对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BasePlantManagerMapper"})
    public List<BasePlantManagerDto> selectListScope(BasePlantManagerQuery plantManager) {
        return baseManager.selectListExtra(plantManager);
    }

}